
    <!-- Cropping modal -->
    <div class="modal fade" id="ads_modal" aria-hidden="true" aria-labelledby="avatar-modal-label" role="dialog" tabindex="-1">
      <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title" id="avatar-modal-label">{{trans("admin/message.ads_edit_title")}}</h4>
            </div>


            <div class="modal-body"  style="max-height: 500px;overflow:auto">
                <!-- Crop and preview -->
                <form method="get" id="actionmodifyform" class="form-horizontal">

                    <input type="hidden" name="id" id="id">




                    <div class="hr-line-dashed"></div>
                    <div class="form-group"><label class="col-sm-2 control-label">{{trans("admin/message.ads_edit_key")}}</label>
                        <div class="col-sm-10">
                            <select  class="form-control" name="ad_position">
                                @if(isset($locations))
                                    @foreach($locations as $item)
                                        <option value="{{$item->id}}" >{{$item->name}}</option>
                                    @endforeach
                                 @endif
                            </select>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group"><label class="col-sm-2 control-label">{{trans("admin/message.ads_edit_name")}}</label>
                        <div class="col-sm-10"><input  class="form-control" name="name"  ></div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group"><label class="col-sm-2 control-label">{{trans("admin/message.ads_edit_desc")}}</label>
                        <div class="col-sm-10"><textarea  class="form-control" name="desc" rows="2"></textarea> </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group"><label class="col-sm-2 control-label">{{trans("admin/message.ads_edit_content")}}</label>
                        <div class="col-sm-10"><textarea  class="form-control" name="ad_content" rows="5"></textarea> </div>
                    </div>

                </form>
            </div>


          <div class="modal-footer">
              <button type="button" class="btn btn-primary" onclick="admin_ads_list.submit()" >{{trans("admin/message.submit")}}</button>
          </div>

        </div>
      </div>
    </div>